
const tableList = {
  userList: [
    {
      prop: "userid",
      label: "ID",
    },
    {
      prop: "username",
      label: "姓名",
    },
    {
      prop: "sex",
      label: "性别",
      handle: true,
      list: {
        "1": "男",
        "2": "女",
      },
    },
    {
      prop: "email",
      label: "Email",
      width:200
    },
    {
      prop: "phoneno",
      label: "手机",
      
      width:100
    },
  ],
  goodsList: [
    {
      prop: "goodsid",
      label: "ID",
      width:100

    },
    {
      prop: "goodsname",
      label: "商品",
    },
  ],
  orderList: [
    {
      prop: "orderid",
      label: "ID",
    },
    {
      prop: "username",
      label: "姓名",
    },
    {
      prop: "details",
      label: "发货地址",
      width:300
    },
    {
      prop: "orderstatus",
      label: "状态",
      handle: true,
      list: {
        "1": "未通过审核",
        "2": "已审核未发货",
        "3": "已发货",
        "4": "已收货",
      },
      width:100
    },
  ],
  commentList: [
    {
      prop: "commentid",
      label: "ID",
    },
    {
      prop: "username",
      label: "用户名",
    },
    {
      prop: "content",
      label: "留言内容",
      width:300
    },
    {
      prop: "status",
      label: "状态",
      handle: true,
      list: {
        "1": "未回复",
        "2": "已回复",
      },
      colors: {
        "1": "red",
        "2": "green",
      },
    },
  ],
  newsList:[
    {
      prop: "newsid",
      label: "ID",
    },
    {
      prop: "newtitle",
      label: "新闻标题",
      width:400
    },
  ],
  noticeList:[
    {
      prop: "newsid",
      label: "ID",
    },
    {
      prop: "newtitle",
      label: "公告标题",
      width:400
    },
  ],
  addressList:[
    {
      prop: "province",
      label: "省份",
    },
    {
      prop: "city",
      label: "城市",
    },
    {
      prop: "details",
      label: "详细地址",
      width:280
    },
  ],
};
export default tableList;
